@import './variables.scss';

.login-copyright {
  color: #999;
  width: 100%;
  position: fixed;
  bottom: 30px;
  text-align: center;
}

.login-container {
  background-color: #f0f2f5;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  // background: url("/img/bg/login.png");
  background: url("/img/bg/bg-login.jpg") ;
  background-size:100% 100%;
  // animation: animate-cloud 20s linear infinite;
}

.login-tip {
  color: #333;
  text-align: center;
  font-weight: 700;
  font-size: 21px;
}

.login-logo {
  overflow: hidden;
  width: 110px;
  height: 110px;
  margin: -50px auto 20px auto;
  border-radius: 50%;
  -webkit-box-shadow: 0 4px 40px rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.07);
  padding: 10px;
  background-color: #fff;
  z-index: 1;
  position: relative;
  box-sizing: border-box;
  padding: 20px;

  img {
    width: 100%;
  }
}

.login-weaper {
  position: relative;
  margin: 0 auto;
  // width: 380px;
  // padding: 0 40px;
  box-sizing: border-box;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border-radius: 8px;
}

.login-left,
.login-border {
  padding: 20px 0 40px 0;
  position: relative;
  align-items: center;
  display: flex;
}

.login-left {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  justify-content: center;
  flex-direction: column;
  background-color: #409eff;
  color: #fff;
  float: left;
  width: 50%;
  position: relative;
}

.login-left .img {
  width: 140px;
}

.login-left .title {
  margin-top: 60px;
  text-align: center;
  color: #fff;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 25px;
}

.login-border {
  border-left: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #fff;
  background-color: #fff;
  width: 100%;
  float: left;
  box-sizing: border-box;
}

.login-main {
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.login-main > h3 {
  margin-bottom: 20px;
}

.login-main > p {
  color: #76838f;
}

.login-title {
  color: #333;
  margin-bottom: 30px;
  font-weight: 500;
  font-size: 22px;
  text-align: center;
  letter-spacing: 4px;
}

.login-select {
  input {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    border: none;
    text-align: center;
  }
}

.login-menu {
  margin-top: 40px;
  width: 100%;
  text-align: center;

  a {
    color: #409eff;
    font-weight: 700;
    font-size: 12px;
    margin: 0px 8px;
  }
}

.login-submit {
  width: 100%;
  height: 45px;
  font-size: 18px;
  letter-spacing: 5px;
  text-indent: 5px;
  font-weight: 300;
  font-weight: 600;
  cursor: pointer;
  // margin-top: 30px;
  font-family: "neo";
  transition: 0.25s;
}

.login-form {
  // margin: 10px 0;

  i {
    color: $blue;
  }

  .el-form-item__content {
    width: 100%;
  }

  .el-form-item {
    margin-bottom: 12px;
  }

  .el-input {
    input {
      padding-bottom: 10px;
      text-indent: 15px;
      background: transparent;
      border: none;
      border-radius: 0;
      color: #333;
      border-bottom: 1px solid rgb(235, 237, 242);
    }

    .el-input__prefix {
      i {
        padding: 0 5px;
        font-weight: 600;
        font-size: 18px !important;
      }
    }
  }
}

.login-code {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0 0 0 10px;
}

.login-code-img {
  margin-top: 2px;
  width: 100px;
  height: 38px;
  background-color: #fdfdfd;
  border: 1px solid #f0f0f0;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 5px;
  line-height: 38px;
  text-indent: 5px;
  text-align: center;
}

.mini_qr {
  position: fixed;
  right: 60px;
  bottom: 0;
  padding: 36px;
  padding-bottom: 85px;
  z-index: 1000;
}

.mini_qr p {
  text-align: center;
  color: #81818e;
  font-size: 12px;
}


.login-block{
  width:1120px;height:556px;overflow:hidden;border-radius:16px;
  .left{
    height:100%;width:680px;background:url('../../assets/img/bg-login-form.png') no-repeat;float:left;position:relative;
    .pic{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);}
    .logo-name{position:absolute;top:32px;left:42px;color:#fff;line-height:30px;
      img{float:left;}
      span{font-size:24px;display:inline-block;padding-left:30px;position:relative;
        &::after{content: '';position:absolute;left:15px;top:5px;width:1px;height:20px;background:#fff;}
      }
    }
  }
  .right{
    height:100%;width:440px;float:left;position:relative;overflow:hidden;
    .flex-block{
      .el-link{flex:1;text-align:center;height:64px;line-height:64px;color:#ccc;font-size:16px;border-bottom:1px solid $lineColor;
        &.active{border-bottom: 1px solid $mainColor;color:$mainColor;background:rgba(39, 73, 183, 0.04);}
      }
    }
    .login-form{
      padding:80px 80px 0 80px;
      label{font-size:12px;color:#999;}
      .el-input input{
        text-indent: 0;padding:0;
      }
      .el-input-group__append{border:none;background:none;}
      .code-input{
        border-bottom:1px solid #ebedf2;
        input{border:none;}
        .el-input-group__append{padding:0;}
      }
    }
    .find-password{
      position:absolute;bottom:30px;width:100%;text-align:center;font-size:14px;
    }
  }
}
.find-password{
  .flex-block{border-radius:8px;overflow:hidden;
    .el-link{flex:1;text-align:center;height:48px;line-height:48px;color:#ccc;font-size:14px;border:1px solid $mainColor;background:#fff;color:$mainColor;
      &:first-child{border-radius:8px 0 0 8px;}
      &:last-child{border-radius:0 8px 8px 0;}
      &.active{background-color:$sibarBgColor;color:#fff;}
    }
  }
  .el-input-group--append{
    background:none;position:relative;
    //  .el-input__inner{border-right:none;}
    .el-input__inner{width:100%;}
    .el-input-group__append{background:none;display:inline-block;position:absolute;top:0;right:0;width:100px;height:32px;border:none;line-height:32px;text-align:center;padding:0;
      .el-button{color:$blue;padding:0;
        &.is-disabled{color:#999;}
      }
    }
  } 
}
.drag-verify{
  margin-bottom:15px;border-radius:4px !important;overflow:hidden;
  .dv_handler{
    height:32px !important;width:32px !important;box-sizing: border-box;border-radius:4px !important;
  }
}

.login-bg{
  width:430px;padding:15px;
}
.login-right{
  padding:0 30px;
}

@media screen and (max-width:768px){
  .login-block{
    .left{display:none;}
  }
  .flex-block{display:block;}
  .login-bg{display:none;}
}

